projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
badfc66
)
tests: Sanitize
author
Benjamin Otte
<otte@redhat.com>
Thu, 14 Aug 2014 22:11:35 +0000
(
00:11
+0200)
committer
Benjamin Otte
<otte@redhat.com>
Thu, 14 Aug 2014 22:13:06 +0000
(
00:13
+0200)
gcc was unhappy again.
tests/testtextview.c
patch
|
blob
|
history
diff --git
a/tests/testtextview.c
b/tests/testtextview.c
index c46a59b69e2912af1cb7cb74c46fe654622ccfc1..0cfd0a15edf4b84e3f57344efa78c16569f28577 100644
(file)
--- a/
tests/testtextview.c
+++ b/
tests/testtextview.c
@@
-20,12
+20,12
@@
my_text_view_init (MyTextView *text_view)
{
}
-static void my_text_view_draw_layer (Gtk
Widget *widget
,
+static void my_text_view_draw_layer (Gtk
TextView *textview
,
GtkTextViewLayer layer,
cairo_t *cr)
{
if (layer == GTK_TEXT_VIEW_LAYER_BELOW)
- draw_background (
widget
, cr);
+ draw_background (
GTK_WIDGET (textview)
, cr);
}
static void